package com.adapter.demo3.main;

import java.util.*;
import com.adapter.demo3.impl.IteratorEnumeration;

public class IteratorEnumerationTestDrive {

	@SuppressWarnings({ "rawtypes", "unchecked" })
	public static void main(String args[]) {
		ArrayList l = new ArrayList(Arrays.asList(args));
		Enumeration enumeration = new IteratorEnumeration(l.iterator());
		while (enumeration.hasMoreElements()) {
			System.out.println(enumeration.nextElement());
		}
	}

}
